package com.movie.ticket.sale.authorassembly.dao;

import com.movie.ticket.sale.moviecommon.model.TUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Ticket
 * @since 2020-12-08
 */
public interface TUserMapper extends BaseMapper<TUser> {

    @Insert("insert into t_user(role,name,password,tel,illegal,state) values(#{role},#{name},#{password},#{tel},#{illegal},#{state})")
    void addANewUser(TUser user);
}
